package com.study.manage.domain.enumm;

public enum ZhuanTiType {
    NO(""), ZT("专题"), TS("贴士"), HT("话题"), FX("分享"), TP("投票"), QRTP("嵌入投票"), GG("广告");

    public String desc;

    private ZhuanTiType(String desc) {
        this.desc = desc;
    }


    public static ZhuanTiType findByIndex(int index) {
        for (ZhuanTiType type : ZhuanTiType.values()) {
            if (type.ordinal() == index) {
                return type;
            }
        }
        return null;
    }
}
